package com.beamfield.dao.process;

import com.beamfield.model.ProcDoc;
import com.beamfield.model.ProcDocExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface ProcDocMapper {
    int deleteByExample(ProcDocExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ProcDoc record);

    int insertSelective(ProcDoc record);

    List<ProcDoc> selectByExample(ProcDocExample example);

    ProcDoc selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ProcDoc record, @Param("example") ProcDocExample example);

    int updateByExample(@Param("record") ProcDoc record, @Param("example") ProcDocExample example);

    int updateByPrimaryKeySelective(ProcDoc record);

    int updateByPrimaryKey(ProcDoc record);

    String selectEcode2Name(String ecode);
}